package com.example.user.mapper;

import com.example.model.user.UserRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author xie
* @description 针对表【sys_user_role(用户角色表)】的数据库操作Mapper
* @createDate 2025-04-26 16:47:56
* @Entity com.example.model.user.UserRole
*/
@Mapper
public interface UserRoleMapper {

    int delete(Long id);

    int insert(UserRole record);

    int insertBatch(List<UserRole> list);

    UserRole get(Long id);

    List<UserRole> list(UserRole userRole);

    int update(UserRole record);

}
